<?php
namespace app\course\event\subscribes\comment;

use think\Event;
use app\course\event\listeners\comment\CommentScore as ScoreListener;
use app\course\event\listeners\comment\CommentNotify as NotifyListener;

class Comment
{
    public function subscribe(Event $event)
    {
        // 课程点评平均评分事件
        $event->listen('CommentScore', ScoreListener::class);

        // 课程点评回复提醒事件
        $event->listen('CommentNotify', NotifyListener::class);

    }
}
